
import 'package:flutter/material.dart';
import 'package:quick_dev_plugin/update/update_version_util.dart';

///author: create by SunJH
///时间: 2022/1/10 0010
///邮箱: 965989158@qq.com
///描述: 升级弹窗测试页面
///

class UpdatePopTest extends StatelessWidget {
   UpdatePopTest({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
          child: InkWell(
            child: const Text("弹出弹窗",style: TextStyle(fontSize: 24),),
            onTap: (){
              UpDataVersionUtil.instance.upDateAppVersion(context,
                  "1.0",
                  "天立云校",
                  [],
                  "https://test.images.shenzhoutianyu.com/tianliCloudSchool/androidApp/tianlicloudSchool_upDate_test.apk"
              );
            },
          ),
        ),
      ),
    );
  }



}
